#include <stdio.h>
int main()
{
    //交换一样大的数组的内容
    int arr1[3] = {1, 3, 5};
    int arr2[3] = {2, 4, 6};
    int sz = sizeof (arr1) / sizeof (arr1[0]);
    for (int i = 0; i < sz; i++)
    {
        arr1[i] = arr2[i];
    }
    for (int i = 0; i < sz; i++)
    {
        printf("%d ", arr1[i]);
    }
}